package cn.lili.modules.order.order.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 收益记录
 */
@Data
public class IncomeRecordVO {
    /**
     * 下单时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy/MM/dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private Date time;
    /**
     * 描述
     */
    private String description;
    /**
     * 结算状态
     */
    private String statusName;
    /**
     * 金额
     */
    private BigDecimal money;

    /**
     * 间推金额
     */
    private BigDecimal lowerSubCommiss;
    /**
     * 直推金额
     */
    private BigDecimal lowerCommiss;

    /**
     * 流水金额
     */
    private BigDecimal flowPrice;
    /**
     * 城主绿色返佣金额
     */
    private BigDecimal castellanGreenScore;

    /**
     * 结算状态
     */
    private String profitSharing;

    /**
     * 工会佣金
     */
    private Double unionGreenScore;
}
